#pragma once
#include "afxdtctl.h"


// CCreateUser dialog

class CCreateUser : public CDialog
{
	DECLARE_DYNAMIC(CCreateUser)

public:
	CCreateUser(CWnd* pParent = NULL);   // standard constructor
	virtual ~CCreateUser();

// Dialog Data
	enum { IDD = IDD_DIALOG_USER };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual BOOL OnInitDialog();
	afx_msg void OnAddUser();
	afx_msg void OnbnCancel();

	DECLARE_MESSAGE_MAP()
public:
	CString m_sName;
	CComboBox m_ctrlSex;	
	CString m_sVillage;
	CString m_sCurLive;
	CString m_sPhone;
	CString m_sEmail;
	CString m_sUser;
	CString m_sPass;
	CComboBox m_ctrlLevel;
	CString m_sCMTND;
	CString m_sSalary;
	CComboBox m_ctrlStore;

public:
	CStaff* m_pStaff;
	bool m_bEdit;
	CEdit m_ctrlNewPass;
	CEdit m_ctrlConfirmPass;
	CComboBox m_ctrlDay;
	CComboBox m_ctrlMonth;
	CComboBox m_ctrlYear;
	CString m_sDay;
	CString m_sMonth;
	CString m_sYear;
};
